package com.teamwork.module03.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwork.common.entity.common.User;
import com.teamwork.common.entity.module03.Author;
import com.teamwork.common.result.Result;

public interface AuthorService extends IService<Author> {
    String getUserNameById(Long authorId);

    String getNickNameById(Long authorId);

     Author getByUserId(Integer userid);

    boolean deleteByUserId(Integer id);

    boolean initOne(Long userid, String username, String nickname);

    Result getByArtId(Integer artid);
}
